package com.party.core.model.crowdfund;

import com.party.core.model.BaseModel;

import java.util.Date;

/**
 * @Author: Administrator.
 * @Description: 众筹排名
 * @Date:Created in 2017/9/26 0026 上午 9:42.
 */
public class CrowdfundRank extends BaseModel {
    private String eventId; // 事项id
    private String targetId; // 所属众筹项目id
    private String projectId; // 众筹id
    private Date arrivalTime; // 阶段到达时间
    private Long diffTime; // 时间差（阶段时间-众筹开始时间）
    private Integer percent; // 阶段（10%、20%..）
    private Float payment; // 阶段金额

    private Integer rankNo; // 排名
    private String useTime; // 使用时间

    public CrowdfundRank() {
    }

    public CrowdfundRank(String eventId, String targetId, String projectId) {
        this.eventId = eventId;
        this.targetId = targetId;
        this.projectId = projectId;
    }

    public String getEventId() {
        return eventId;
    }

    public void setEventId(String eventId) {
        this.eventId = eventId;
    }

    public String getTargetId() {
        return targetId;
    }

    public void setTargetId(String targetId) {
        this.targetId = targetId;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public Date getArrivalTime() {
        return arrivalTime;
    }

    public void setArrivalTime(Date arrivalTime) {
        this.arrivalTime = arrivalTime;
    }

    public Long getDiffTime() {
        return diffTime;
    }

    public void setDiffTime(Long diffTime) {
        this.diffTime = diffTime;
    }

    public Integer getPercent() {
        return percent;
    }

    public void setPercent(Integer percent) {
        this.percent = percent;
    }

    public Float getPayment() {
        return payment;
    }

    public void setPayment(Float payment) {
        this.payment = payment;
    }

    public Integer getRankNo() {
        return rankNo;
    }

    public void setRankNo(Integer rankNo) {
        this.rankNo = rankNo;
    }

    public String getUseTime() {
        return useTime;
    }

    public void setUseTime(String useTime) {
        this.useTime = useTime;
    }
}
